package sv.gob.mh.dgii.model;

// Generated Dec 12, 2007 3:08:52 PM by Hibernate Tools 3.2.0.CR1

import java.io.Serializable;
import java.sql.Blob;
import java.sql.Clob;
import java.util.Date;
import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TbReporte generated by hbm2java
 */
@Entity
@Table(name = "TB_REPORTE", schema = "CATALOGOS")
public class TbReporte implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private TbReporteId id;
	private String dreporte;
	private Integer butilizaParam;
	private Integer besGrafica;
	private String cusuario;
	private Date fhingreso;
	private String snotas;
	private Blob xdwSintaxis;
	private Character mreporteBorde;
	private Integer breporteTitulo;
	private Integer breporteBotmax;
	private Long nreporteX;
	private Long nreporteY;
	private Long nreporteAncho;
	private Long nreporteAlto;
	private Blob xdwQuery;
	private Character mqueryBorde;
	private Integer bqueryTitulo;
	private Integer bqueryBotmax;
	private Long nqueryX;
	private Long nqueryY;
	private Long nqueryAncho;
	private Long nqueryAlto;
	private Clob prueba1;
	private Clob prueba2;
	private Serializable bfxdwQuery;
	private Serializable bfxdwSintaxis;

	public TbReporte() {
	}

	public TbReporte(TbReporteId id, Integer butilizaParam, Integer besGrafica,
			Integer breporteTitulo, Integer breporteBotmax,
			Integer bqueryTitulo, Integer bqueryBotmax) {
		this.id = id;
		this.butilizaParam = butilizaParam;
		this.besGrafica = besGrafica;
		this.breporteTitulo = breporteTitulo;
		this.breporteBotmax = breporteBotmax;
		this.bqueryTitulo = bqueryTitulo;
		this.bqueryBotmax = bqueryBotmax;
	}

	public TbReporte(TbReporteId id, String dreporte, Integer butilizaParam,
			Integer besGrafica, String cusuario, Date fhingreso, String snotas,
			Blob xdwSintaxis, Character mreporteBorde, Integer breporteTitulo,
			Integer breporteBotmax, Long nreporteX, Long nreporteY,
			Long nreporteAncho, Long nreporteAlto, Blob xdwQuery,
			Character mqueryBorde, Integer bqueryTitulo, Integer bqueryBotmax,
			Long nqueryX, Long nqueryY, Long nqueryAncho, Long nqueryAlto,
			Clob prueba1, Clob prueba2, Serializable bfxdwQuery,
			Serializable bfxdwSintaxis) {
		this.id = id;
		this.dreporte = dreporte;
		this.butilizaParam = butilizaParam;
		this.besGrafica = besGrafica;
		this.cusuario = cusuario;
		this.fhingreso = fhingreso;
		this.snotas = snotas;
		this.xdwSintaxis = xdwSintaxis;
		this.mreporteBorde = mreporteBorde;
		this.breporteTitulo = breporteTitulo;
		this.breporteBotmax = breporteBotmax;
		this.nreporteX = nreporteX;
		this.nreporteY = nreporteY;
		this.nreporteAncho = nreporteAncho;
		this.nreporteAlto = nreporteAlto;
		this.xdwQuery = xdwQuery;
		this.mqueryBorde = mqueryBorde;
		this.bqueryTitulo = bqueryTitulo;
		this.bqueryBotmax = bqueryBotmax;
		this.nqueryX = nqueryX;
		this.nqueryY = nqueryY;
		this.nqueryAncho = nqueryAncho;
		this.nqueryAlto = nqueryAlto;
		this.prueba1 = prueba1;
		this.prueba2 = prueba2;
		this.bfxdwQuery = bfxdwQuery;
		this.bfxdwSintaxis = bfxdwSintaxis;
	}

	@EmbeddedId
	@AttributeOverrides( {
			@AttributeOverride(name = "caplicacion", column = @Column(name = "C_APLICACION", nullable = false, length = 2)),
			@AttributeOverride(name = "creporte", column = @Column(name = "C_REPORTE", nullable = false, length = 15)) })
	public TbReporteId getId() {
		return this.id;
	}

	public void setId(TbReporteId id) {
		this.id = id;
	}

	@Column(name = "D_REPORTE", length = 70)
	public String getDreporte() {
		return this.dreporte;
	}

	public void setDreporte(String dreporte) {
		this.dreporte = dreporte;
	}

	@Column(name = "B_UTILIZA_PARAM", nullable = false, precision = 1, scale = 0)
	public Integer getButilizaParam() {
		return this.butilizaParam;
	}

	public void setButilizaParam(Integer butilizaParam) {
		this.butilizaParam = butilizaParam;
	}

	@Column(name = "B_ES_GRAFICA", nullable = false, precision = 1, scale = 0)
	public Integer getBesGrafica() {
		return this.besGrafica;
	}

	public void setBesGrafica(Integer besGrafica) {
		this.besGrafica = besGrafica;
	}

	@Column(name = "C_USUARIO", length = 30)
	public String getCusuario() {
		return this.cusuario;
	}

	public void setCusuario(String cusuario) {
		this.cusuario = cusuario;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "FH_INGRESO", length = 7)
	public Date getFhingreso() {
		return this.fhingreso;
	}

	public void setFhingreso(Date fhingreso) {
		this.fhingreso = fhingreso;
	}

	@Column(name = "S_NOTAS", length = 250)
	public String getSnotas() {
		return this.snotas;
	}

	public void setSnotas(String snotas) {
		this.snotas = snotas;
	}

	@Column(name = "X_DW_SINTAXIS")
	public Blob getXdwSintaxis() {
		return this.xdwSintaxis;
	}

	public void setXdwSintaxis(Blob xdwSintaxis) {
		this.xdwSintaxis = xdwSintaxis;
	}

	@Column(name = "M_REPORTE_BORDE", length = 1)
	public Character getMreporteBorde() {
		return this.mreporteBorde;
	}

	public void setMreporteBorde(Character mreporteBorde) {
		this.mreporteBorde = mreporteBorde;
	}

	@Column(name = "B_REPORTE_TITULO", nullable = false, precision = 1, scale = 0)
	public Integer getBreporteTitulo() {
		return this.breporteTitulo;
	}

	public void setBreporteTitulo(Integer breporteTitulo) {
		this.breporteTitulo = breporteTitulo;
	}

	@Column(name = "B_REPORTE_BOTMAX", nullable = false, precision = 1, scale = 0)
	public Integer getBreporteBotmax() {
		return this.breporteBotmax;
	}

	public void setBreporteBotmax(Integer breporteBotmax) {
		this.breporteBotmax = breporteBotmax;
	}

	@Column(name = "N_REPORTE_X", precision = 10, scale = 0)
	public Long getNreporteX() {
		return this.nreporteX;
	}

	public void setNreporteX(Long nreporteX) {
		this.nreporteX = nreporteX;
	}

	@Column(name = "N_REPORTE_Y", precision = 10, scale = 0)
	public Long getNreporteY() {
		return this.nreporteY;
	}

	public void setNreporteY(Long nreporteY) {
		this.nreporteY = nreporteY;
	}

	@Column(name = "N_REPORTE_ANCHO", precision = 10, scale = 0)
	public Long getNreporteAncho() {
		return this.nreporteAncho;
	}

	public void setNreporteAncho(Long nreporteAncho) {
		this.nreporteAncho = nreporteAncho;
	}

	@Column(name = "N_REPORTE_ALTO", precision = 10, scale = 0)
	public Long getNreporteAlto() {
		return this.nreporteAlto;
	}

	public void setNreporteAlto(Long nreporteAlto) {
		this.nreporteAlto = nreporteAlto;
	}

	@Column(name = "X_DW_QUERY")
	public Blob getXdwQuery() {
		return this.xdwQuery;
	}

	public void setXdwQuery(Blob xdwQuery) {
		this.xdwQuery = xdwQuery;
	}

	@Column(name = "M_QUERY_BORDE", length = 1)
	public Character getMqueryBorde() {
		return this.mqueryBorde;
	}

	public void setMqueryBorde(Character mqueryBorde) {
		this.mqueryBorde = mqueryBorde;
	}

	@Column(name = "B_QUERY_TITULO", nullable = false, precision = 1, scale = 0)
	public Integer getBqueryTitulo() {
		return this.bqueryTitulo;
	}

	public void setBqueryTitulo(Integer bqueryTitulo) {
		this.bqueryTitulo = bqueryTitulo;
	}

	@Column(name = "B_QUERY_BOTMAX", nullable = false, precision = 1, scale = 0)
	public Integer getBqueryBotmax() {
		return this.bqueryBotmax;
	}

	public void setBqueryBotmax(Integer bqueryBotmax) {
		this.bqueryBotmax = bqueryBotmax;
	}

	@Column(name = "N_QUERY_X", precision = 10, scale = 0)
	public Long getNqueryX() {
		return this.nqueryX;
	}

	public void setNqueryX(Long nqueryX) {
		this.nqueryX = nqueryX;
	}

	@Column(name = "N_QUERY_Y", precision = 10, scale = 0)
	public Long getNqueryY() {
		return this.nqueryY;
	}

	public void setNqueryY(Long nqueryY) {
		this.nqueryY = nqueryY;
	}

	@Column(name = "N_QUERY_ANCHO", precision = 10, scale = 0)
	public Long getNqueryAncho() {
		return this.nqueryAncho;
	}

	public void setNqueryAncho(Long nqueryAncho) {
		this.nqueryAncho = nqueryAncho;
	}

	@Column(name = "N_QUERY_ALTO", precision = 10, scale = 0)
	public Long getNqueryAlto() {
		return this.nqueryAlto;
	}

	public void setNqueryAlto(Long nqueryAlto) {
		this.nqueryAlto = nqueryAlto;
	}

	@Column(name = "PRUEBA1")
	public Clob getPrueba1() {
		return this.prueba1;
	}

	public void setPrueba1(Clob prueba1) {
		this.prueba1 = prueba1;
	}

	@Column(name = "PRUEBA2")
	public Clob getPrueba2() {
		return this.prueba2;
	}

	public void setPrueba2(Clob prueba2) {
		this.prueba2 = prueba2;
	}

	@Column(name = "BFX_DW_QUERY")
	public Serializable getBfxdwQuery() {
		return this.bfxdwQuery;
	}

	public void setBfxdwQuery(Serializable bfxdwQuery) {
		this.bfxdwQuery = bfxdwQuery;
	}

	@Column(name = "BFX_DW_SINTAXIS")
	public Serializable getBfxdwSintaxis() {
		return this.bfxdwSintaxis;
	}

	public void setBfxdwSintaxis(Serializable bfxdwSintaxis) {
		this.bfxdwSintaxis = bfxdwSintaxis;
	}

}
